package com.app.bean;

import java.util.ArrayList;
import java.util.List;

public class TUserExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public TUserExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andUseridIsNull() {
            addCriterion("userId is null");
            return (Criteria) this;
        }

        public Criteria andUseridIsNotNull() {
            addCriterion("userId is not null");
            return (Criteria) this;
        }

        public Criteria andUseridEqualTo(Integer value) {
            addCriterion("userId =", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotEqualTo(Integer value) {
            addCriterion("userId <>", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridGreaterThan(Integer value) {
            addCriterion("userId >", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridGreaterThanOrEqualTo(Integer value) {
            addCriterion("userId >=", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLessThan(Integer value) {
            addCriterion("userId <", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLessThanOrEqualTo(Integer value) {
            addCriterion("userId <=", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridIn(List<Integer> values) {
            addCriterion("userId in", values, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotIn(List<Integer> values) {
            addCriterion("userId not in", values, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridBetween(Integer value1, Integer value2) {
            addCriterion("userId between", value1, value2, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotBetween(Integer value1, Integer value2) {
            addCriterion("userId not between", value1, value2, "userid");
            return (Criteria) this;
        }

        public Criteria andUsernameIsNull() {
            addCriterion("userName is null");
            return (Criteria) this;
        }

        public Criteria andUsernameIsNotNull() {
            addCriterion("userName is not null");
            return (Criteria) this;
        }

        public Criteria andUsernameEqualTo(String value) {
            addCriterion("userName =", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotEqualTo(String value) {
            addCriterion("userName <>", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameGreaterThan(String value) {
            addCriterion("userName >", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameGreaterThanOrEqualTo(String value) {
            addCriterion("userName >=", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameLessThan(String value) {
            addCriterion("userName <", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameLessThanOrEqualTo(String value) {
            addCriterion("userName <=", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameLike(String value) {
            addCriterion("userName like", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotLike(String value) {
            addCriterion("userName not like", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameIn(List<String> values) {
            addCriterion("userName in", values, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotIn(List<String> values) {
            addCriterion("userName not in", values, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameBetween(String value1, String value2) {
            addCriterion("userName between", value1, value2, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotBetween(String value1, String value2) {
            addCriterion("userName not between", value1, value2, "username");
            return (Criteria) this;
        }

        public Criteria andPasswordIsNull() {
            addCriterion("password is null");
            return (Criteria) this;
        }

        public Criteria andPasswordIsNotNull() {
            addCriterion("password is not null");
            return (Criteria) this;
        }

        public Criteria andPasswordEqualTo(String value) {
            addCriterion("password =", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordNotEqualTo(String value) {
            addCriterion("password <>", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordGreaterThan(String value) {
            addCriterion("password >", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordGreaterThanOrEqualTo(String value) {
            addCriterion("password >=", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordLessThan(String value) {
            addCriterion("password <", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordLessThanOrEqualTo(String value) {
            addCriterion("password <=", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordLike(String value) {
            addCriterion("password like", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordNotLike(String value) {
            addCriterion("password not like", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordIn(List<String> values) {
            addCriterion("password in", values, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordNotIn(List<String> values) {
            addCriterion("password not in", values, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordBetween(String value1, String value2) {
            addCriterion("password between", value1, value2, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordNotBetween(String value1, String value2) {
            addCriterion("password not between", value1, value2, "password");
            return (Criteria) this;
        }

        public Criteria andUsertypeIsNull() {
            addCriterion("userType is null");
            return (Criteria) this;
        }

        public Criteria andUsertypeIsNotNull() {
            addCriterion("userType is not null");
            return (Criteria) this;
        }

        public Criteria andUsertypeEqualTo(Byte value) {
            addCriterion("userType =", value, "usertype");
            return (Criteria) this;
        }

        public Criteria andUsertypeNotEqualTo(Byte value) {
            addCriterion("userType <>", value, "usertype");
            return (Criteria) this;
        }

        public Criteria andUsertypeGreaterThan(Byte value) {
            addCriterion("userType >", value, "usertype");
            return (Criteria) this;
        }

        public Criteria andUsertypeGreaterThanOrEqualTo(Byte value) {
            addCriterion("userType >=", value, "usertype");
            return (Criteria) this;
        }

        public Criteria andUsertypeLessThan(Byte value) {
            addCriterion("userType <", value, "usertype");
            return (Criteria) this;
        }

        public Criteria andUsertypeLessThanOrEqualTo(Byte value) {
            addCriterion("userType <=", value, "usertype");
            return (Criteria) this;
        }

        public Criteria andUsertypeIn(List<Byte> values) {
            addCriterion("userType in", values, "usertype");
            return (Criteria) this;
        }

        public Criteria andUsertypeNotIn(List<Byte> values) {
            addCriterion("userType not in", values, "usertype");
            return (Criteria) this;
        }

        public Criteria andUsertypeBetween(Byte value1, Byte value2) {
            addCriterion("userType between", value1, value2, "usertype");
            return (Criteria) this;
        }

        public Criteria andUsertypeNotBetween(Byte value1, Byte value2) {
            addCriterion("userType not between", value1, value2, "usertype");
            return (Criteria) this;
        }

        public Criteria andRoleidIsNull() {
            addCriterion("roleId is null");
            return (Criteria) this;
        }

        public Criteria andRoleidIsNotNull() {
            addCriterion("roleId is not null");
            return (Criteria) this;
        }

        public Criteria andRoleidEqualTo(Integer value) {
            addCriterion("roleId =", value, "roleid");
            return (Criteria) this;
        }

        public Criteria andRoleidNotEqualTo(Integer value) {
            addCriterion("roleId <>", value, "roleid");
            return (Criteria) this;
        }

        public Criteria andRoleidGreaterThan(Integer value) {
            addCriterion("roleId >", value, "roleid");
            return (Criteria) this;
        }

        public Criteria andRoleidGreaterThanOrEqualTo(Integer value) {
            addCriterion("roleId >=", value, "roleid");
            return (Criteria) this;
        }

        public Criteria andRoleidLessThan(Integer value) {
            addCriterion("roleId <", value, "roleid");
            return (Criteria) this;
        }

        public Criteria andRoleidLessThanOrEqualTo(Integer value) {
            addCriterion("roleId <=", value, "roleid");
            return (Criteria) this;
        }

        public Criteria andRoleidIn(List<Integer> values) {
            addCriterion("roleId in", values, "roleid");
            return (Criteria) this;
        }

        public Criteria andRoleidNotIn(List<Integer> values) {
            addCriterion("roleId not in", values, "roleid");
            return (Criteria) this;
        }

        public Criteria andRoleidBetween(Integer value1, Integer value2) {
            addCriterion("roleId between", value1, value2, "roleid");
            return (Criteria) this;
        }

        public Criteria andRoleidNotBetween(Integer value1, Integer value2) {
            addCriterion("roleId not between", value1, value2, "roleid");
            return (Criteria) this;
        }

        public Criteria andUserdescriptionIsNull() {
            addCriterion("userDescription is null");
            return (Criteria) this;
        }

        public Criteria andUserdescriptionIsNotNull() {
            addCriterion("userDescription is not null");
            return (Criteria) this;
        }

        public Criteria andUserdescriptionEqualTo(String value) {
            addCriterion("userDescription =", value, "userdescription");
            return (Criteria) this;
        }

        public Criteria andUserdescriptionNotEqualTo(String value) {
            addCriterion("userDescription <>", value, "userdescription");
            return (Criteria) this;
        }

        public Criteria andUserdescriptionGreaterThan(String value) {
            addCriterion("userDescription >", value, "userdescription");
            return (Criteria) this;
        }

        public Criteria andUserdescriptionGreaterThanOrEqualTo(String value) {
            addCriterion("userDescription >=", value, "userdescription");
            return (Criteria) this;
        }

        public Criteria andUserdescriptionLessThan(String value) {
            addCriterion("userDescription <", value, "userdescription");
            return (Criteria) this;
        }

        public Criteria andUserdescriptionLessThanOrEqualTo(String value) {
            addCriterion("userDescription <=", value, "userdescription");
            return (Criteria) this;
        }

        public Criteria andUserdescriptionLike(String value) {
            addCriterion("userDescription like", value, "userdescription");
            return (Criteria) this;
        }

        public Criteria andUserdescriptionNotLike(String value) {
            addCriterion("userDescription not like", value, "userdescription");
            return (Criteria) this;
        }

        public Criteria andUserdescriptionIn(List<String> values) {
            addCriterion("userDescription in", values, "userdescription");
            return (Criteria) this;
        }

        public Criteria andUserdescriptionNotIn(List<String> values) {
            addCriterion("userDescription not in", values, "userdescription");
            return (Criteria) this;
        }

        public Criteria andUserdescriptionBetween(String value1, String value2) {
            addCriterion("userDescription between", value1, value2, "userdescription");
            return (Criteria) this;
        }

        public Criteria andUserdescriptionNotBetween(String value1, String value2) {
            addCriterion("userDescription not between", value1, value2, "userdescription");
            return (Criteria) this;
        }

        public Criteria andSexIsNull() {
            addCriterion("sex is null");
            return (Criteria) this;
        }

        public Criteria andSexIsNotNull() {
            addCriterion("sex is not null");
            return (Criteria) this;
        }

        public Criteria andSexEqualTo(String value) {
            addCriterion("sex =", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexNotEqualTo(String value) {
            addCriterion("sex <>", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexGreaterThan(String value) {
            addCriterion("sex >", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexGreaterThanOrEqualTo(String value) {
            addCriterion("sex >=", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexLessThan(String value) {
            addCriterion("sex <", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexLessThanOrEqualTo(String value) {
            addCriterion("sex <=", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexLike(String value) {
            addCriterion("sex like", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexNotLike(String value) {
            addCriterion("sex not like", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexIn(List<String> values) {
            addCriterion("sex in", values, "sex");
            return (Criteria) this;
        }

        public Criteria andSexNotIn(List<String> values) {
            addCriterion("sex not in", values, "sex");
            return (Criteria) this;
        }

        public Criteria andSexBetween(String value1, String value2) {
            addCriterion("sex between", value1, value2, "sex");
            return (Criteria) this;
        }

        public Criteria andSexNotBetween(String value1, String value2) {
            addCriterion("sex not between", value1, value2, "sex");
            return (Criteria) this;
        }

        public Criteria andAgeIsNull() {
            addCriterion("age is null");
            return (Criteria) this;
        }

        public Criteria andAgeIsNotNull() {
            addCriterion("age is not null");
            return (Criteria) this;
        }

        public Criteria andAgeEqualTo(String value) {
            addCriterion("age =", value, "age");
            return (Criteria) this;
        }

        public Criteria andAgeNotEqualTo(String value) {
            addCriterion("age <>", value, "age");
            return (Criteria) this;
        }

        public Criteria andAgeGreaterThan(String value) {
            addCriterion("age >", value, "age");
            return (Criteria) this;
        }

        public Criteria andAgeGreaterThanOrEqualTo(String value) {
            addCriterion("age >=", value, "age");
            return (Criteria) this;
        }

        public Criteria andAgeLessThan(String value) {
            addCriterion("age <", value, "age");
            return (Criteria) this;
        }

        public Criteria andAgeLessThanOrEqualTo(String value) {
            addCriterion("age <=", value, "age");
            return (Criteria) this;
        }

        public Criteria andAgeLike(String value) {
            addCriterion("age like", value, "age");
            return (Criteria) this;
        }

        public Criteria andAgeNotLike(String value) {
            addCriterion("age not like", value, "age");
            return (Criteria) this;
        }

        public Criteria andAgeIn(List<String> values) {
            addCriterion("age in", values, "age");
            return (Criteria) this;
        }

        public Criteria andAgeNotIn(List<String> values) {
            addCriterion("age not in", values, "age");
            return (Criteria) this;
        }

        public Criteria andAgeBetween(String value1, String value2) {
            addCriterion("age between", value1, value2, "age");
            return (Criteria) this;
        }

        public Criteria andAgeNotBetween(String value1, String value2) {
            addCriterion("age not between", value1, value2, "age");
            return (Criteria) this;
        }

        public Criteria andUsercode1IsNull() {
            addCriterion("userCode1 is null");
            return (Criteria) this;
        }

        public Criteria andUsercode1IsNotNull() {
            addCriterion("userCode1 is not null");
            return (Criteria) this;
        }

        public Criteria andUsercode1EqualTo(String value) {
            addCriterion("userCode1 =", value, "usercode1");
            return (Criteria) this;
        }

        public Criteria andUsercode1NotEqualTo(String value) {
            addCriterion("userCode1 <>", value, "usercode1");
            return (Criteria) this;
        }

        public Criteria andUsercode1GreaterThan(String value) {
            addCriterion("userCode1 >", value, "usercode1");
            return (Criteria) this;
        }

        public Criteria andUsercode1GreaterThanOrEqualTo(String value) {
            addCriterion("userCode1 >=", value, "usercode1");
            return (Criteria) this;
        }

        public Criteria andUsercode1LessThan(String value) {
            addCriterion("userCode1 <", value, "usercode1");
            return (Criteria) this;
        }

        public Criteria andUsercode1LessThanOrEqualTo(String value) {
            addCriterion("userCode1 <=", value, "usercode1");
            return (Criteria) this;
        }

        public Criteria andUsercode1Like(String value) {
            addCriterion("userCode1 like", value, "usercode1");
            return (Criteria) this;
        }

        public Criteria andUsercode1NotLike(String value) {
            addCriterion("userCode1 not like", value, "usercode1");
            return (Criteria) this;
        }

        public Criteria andUsercode1In(List<String> values) {
            addCriterion("userCode1 in", values, "usercode1");
            return (Criteria) this;
        }

        public Criteria andUsercode1NotIn(List<String> values) {
            addCriterion("userCode1 not in", values, "usercode1");
            return (Criteria) this;
        }

        public Criteria andUsercode1Between(String value1, String value2) {
            addCriterion("userCode1 between", value1, value2, "usercode1");
            return (Criteria) this;
        }

        public Criteria andUsercode1NotBetween(String value1, String value2) {
            addCriterion("userCode1 not between", value1, value2, "usercode1");
            return (Criteria) this;
        }

        public Criteria andUsercode2IsNull() {
            addCriterion("userCode2 is null");
            return (Criteria) this;
        }

        public Criteria andUsercode2IsNotNull() {
            addCriterion("userCode2 is not null");
            return (Criteria) this;
        }

        public Criteria andUsercode2EqualTo(String value) {
            addCriterion("userCode2 =", value, "usercode2");
            return (Criteria) this;
        }

        public Criteria andUsercode2NotEqualTo(String value) {
            addCriterion("userCode2 <>", value, "usercode2");
            return (Criteria) this;
        }

        public Criteria andUsercode2GreaterThan(String value) {
            addCriterion("userCode2 >", value, "usercode2");
            return (Criteria) this;
        }

        public Criteria andUsercode2GreaterThanOrEqualTo(String value) {
            addCriterion("userCode2 >=", value, "usercode2");
            return (Criteria) this;
        }

        public Criteria andUsercode2LessThan(String value) {
            addCriterion("userCode2 <", value, "usercode2");
            return (Criteria) this;
        }

        public Criteria andUsercode2LessThanOrEqualTo(String value) {
            addCriterion("userCode2 <=", value, "usercode2");
            return (Criteria) this;
        }

        public Criteria andUsercode2Like(String value) {
            addCriterion("userCode2 like", value, "usercode2");
            return (Criteria) this;
        }

        public Criteria andUsercode2NotLike(String value) {
            addCriterion("userCode2 not like", value, "usercode2");
            return (Criteria) this;
        }

        public Criteria andUsercode2In(List<String> values) {
            addCriterion("userCode2 in", values, "usercode2");
            return (Criteria) this;
        }

        public Criteria andUsercode2NotIn(List<String> values) {
            addCriterion("userCode2 not in", values, "usercode2");
            return (Criteria) this;
        }

        public Criteria andUsercode2Between(String value1, String value2) {
            addCriterion("userCode2 between", value1, value2, "usercode2");
            return (Criteria) this;
        }

        public Criteria andUsercode2NotBetween(String value1, String value2) {
            addCriterion("userCode2 not between", value1, value2, "usercode2");
            return (Criteria) this;
        }

        public Criteria andUsercode3IsNull() {
            addCriterion("userCode3 is null");
            return (Criteria) this;
        }

        public Criteria andUsercode3IsNotNull() {
            addCriterion("userCode3 is not null");
            return (Criteria) this;
        }

        public Criteria andUsercode3EqualTo(String value) {
            addCriterion("userCode3 =", value, "usercode3");
            return (Criteria) this;
        }

        public Criteria andUsercode3NotEqualTo(String value) {
            addCriterion("userCode3 <>", value, "usercode3");
            return (Criteria) this;
        }

        public Criteria andUsercode3GreaterThan(String value) {
            addCriterion("userCode3 >", value, "usercode3");
            return (Criteria) this;
        }

        public Criteria andUsercode3GreaterThanOrEqualTo(String value) {
            addCriterion("userCode3 >=", value, "usercode3");
            return (Criteria) this;
        }

        public Criteria andUsercode3LessThan(String value) {
            addCriterion("userCode3 <", value, "usercode3");
            return (Criteria) this;
        }

        public Criteria andUsercode3LessThanOrEqualTo(String value) {
            addCriterion("userCode3 <=", value, "usercode3");
            return (Criteria) this;
        }

        public Criteria andUsercode3Like(String value) {
            addCriterion("userCode3 like", value, "usercode3");
            return (Criteria) this;
        }

        public Criteria andUsercode3NotLike(String value) {
            addCriterion("userCode3 not like", value, "usercode3");
            return (Criteria) this;
        }

        public Criteria andUsercode3In(List<String> values) {
            addCriterion("userCode3 in", values, "usercode3");
            return (Criteria) this;
        }

        public Criteria andUsercode3NotIn(List<String> values) {
            addCriterion("userCode3 not in", values, "usercode3");
            return (Criteria) this;
        }

        public Criteria andUsercode3Between(String value1, String value2) {
            addCriterion("userCode3 between", value1, value2, "usercode3");
            return (Criteria) this;
        }

        public Criteria andUsercode3NotBetween(String value1, String value2) {
            addCriterion("userCode3 not between", value1, value2, "usercode3");
            return (Criteria) this;
        }

        public Criteria andUsercode4IsNull() {
            addCriterion("userCode4 is null");
            return (Criteria) this;
        }

        public Criteria andUsercode4IsNotNull() {
            addCriterion("userCode4 is not null");
            return (Criteria) this;
        }

        public Criteria andUsercode4EqualTo(String value) {
            addCriterion("userCode4 =", value, "usercode4");
            return (Criteria) this;
        }

        public Criteria andUsercode4NotEqualTo(String value) {
            addCriterion("userCode4 <>", value, "usercode4");
            return (Criteria) this;
        }

        public Criteria andUsercode4GreaterThan(String value) {
            addCriterion("userCode4 >", value, "usercode4");
            return (Criteria) this;
        }

        public Criteria andUsercode4GreaterThanOrEqualTo(String value) {
            addCriterion("userCode4 >=", value, "usercode4");
            return (Criteria) this;
        }

        public Criteria andUsercode4LessThan(String value) {
            addCriterion("userCode4 <", value, "usercode4");
            return (Criteria) this;
        }

        public Criteria andUsercode4LessThanOrEqualTo(String value) {
            addCriterion("userCode4 <=", value, "usercode4");
            return (Criteria) this;
        }

        public Criteria andUsercode4Like(String value) {
            addCriterion("userCode4 like", value, "usercode4");
            return (Criteria) this;
        }

        public Criteria andUsercode4NotLike(String value) {
            addCriterion("userCode4 not like", value, "usercode4");
            return (Criteria) this;
        }

        public Criteria andUsercode4In(List<String> values) {
            addCriterion("userCode4 in", values, "usercode4");
            return (Criteria) this;
        }

        public Criteria andUsercode4NotIn(List<String> values) {
            addCriterion("userCode4 not in", values, "usercode4");
            return (Criteria) this;
        }

        public Criteria andUsercode4Between(String value1, String value2) {
            addCriterion("userCode4 between", value1, value2, "usercode4");
            return (Criteria) this;
        }

        public Criteria andUsercode4NotBetween(String value1, String value2) {
            addCriterion("userCode4 not between", value1, value2, "usercode4");
            return (Criteria) this;
        }

        public Criteria andUsercode5IsNull() {
            addCriterion("userCode5 is null");
            return (Criteria) this;
        }

        public Criteria andUsercode5IsNotNull() {
            addCriterion("userCode5 is not null");
            return (Criteria) this;
        }

        public Criteria andUsercode5EqualTo(String value) {
            addCriterion("userCode5 =", value, "usercode5");
            return (Criteria) this;
        }

        public Criteria andUsercode5NotEqualTo(String value) {
            addCriterion("userCode5 <>", value, "usercode5");
            return (Criteria) this;
        }

        public Criteria andUsercode5GreaterThan(String value) {
            addCriterion("userCode5 >", value, "usercode5");
            return (Criteria) this;
        }

        public Criteria andUsercode5GreaterThanOrEqualTo(String value) {
            addCriterion("userCode5 >=", value, "usercode5");
            return (Criteria) this;
        }

        public Criteria andUsercode5LessThan(String value) {
            addCriterion("userCode5 <", value, "usercode5");
            return (Criteria) this;
        }

        public Criteria andUsercode5LessThanOrEqualTo(String value) {
            addCriterion("userCode5 <=", value, "usercode5");
            return (Criteria) this;
        }

        public Criteria andUsercode5Like(String value) {
            addCriterion("userCode5 like", value, "usercode5");
            return (Criteria) this;
        }

        public Criteria andUsercode5NotLike(String value) {
            addCriterion("userCode5 not like", value, "usercode5");
            return (Criteria) this;
        }

        public Criteria andUsercode5In(List<String> values) {
            addCriterion("userCode5 in", values, "usercode5");
            return (Criteria) this;
        }

        public Criteria andUsercode5NotIn(List<String> values) {
            addCriterion("userCode5 not in", values, "usercode5");
            return (Criteria) this;
        }

        public Criteria andUsercode5Between(String value1, String value2) {
            addCriterion("userCode5 between", value1, value2, "usercode5");
            return (Criteria) this;
        }

        public Criteria andUsercode5NotBetween(String value1, String value2) {
            addCriterion("userCode5 not between", value1, value2, "usercode5");
            return (Criteria) this;
        }

        public Criteria andUsercode6IsNull() {
            addCriterion("userCode6 is null");
            return (Criteria) this;
        }

        public Criteria andUsercode6IsNotNull() {
            addCriterion("userCode6 is not null");
            return (Criteria) this;
        }

        public Criteria andUsercode6EqualTo(String value) {
            addCriterion("userCode6 =", value, "usercode6");
            return (Criteria) this;
        }

        public Criteria andUsercode6NotEqualTo(String value) {
            addCriterion("userCode6 <>", value, "usercode6");
            return (Criteria) this;
        }

        public Criteria andUsercode6GreaterThan(String value) {
            addCriterion("userCode6 >", value, "usercode6");
            return (Criteria) this;
        }

        public Criteria andUsercode6GreaterThanOrEqualTo(String value) {
            addCriterion("userCode6 >=", value, "usercode6");
            return (Criteria) this;
        }

        public Criteria andUsercode6LessThan(String value) {
            addCriterion("userCode6 <", value, "usercode6");
            return (Criteria) this;
        }

        public Criteria andUsercode6LessThanOrEqualTo(String value) {
            addCriterion("userCode6 <=", value, "usercode6");
            return (Criteria) this;
        }

        public Criteria andUsercode6Like(String value) {
            addCriterion("userCode6 like", value, "usercode6");
            return (Criteria) this;
        }

        public Criteria andUsercode6NotLike(String value) {
            addCriterion("userCode6 not like", value, "usercode6");
            return (Criteria) this;
        }

        public Criteria andUsercode6In(List<String> values) {
            addCriterion("userCode6 in", values, "usercode6");
            return (Criteria) this;
        }

        public Criteria andUsercode6NotIn(List<String> values) {
            addCriterion("userCode6 not in", values, "usercode6");
            return (Criteria) this;
        }

        public Criteria andUsercode6Between(String value1, String value2) {
            addCriterion("userCode6 between", value1, value2, "usercode6");
            return (Criteria) this;
        }

        public Criteria andUsercode6NotBetween(String value1, String value2) {
            addCriterion("userCode6 not between", value1, value2, "usercode6");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}